
/**
 @file sys_at_mcu.h

 @author  Copyright (C) 2019 Centec Networks Inc.  All rights reserved.

 @date 2021-08-19

 @version v0.1

*/

#ifndef _SYS_AT_MCU_H
#define _SYS_AT_MCU_H
#ifdef __cplusplus
extern "C" {
#endif

/****************************************************************
 *
 * Header Files
 *
 ***************************************************************/


/****************************************************************
*
* Defines and Macros
*
****************************************************************/
#define SYS_AT_MCU_NUM                42

#define SYS_AT_MCU_SHARED_MEM_OFFSET_ADDR 0x1c400 /* offset addr 113K, 113 *1024 = 0x4001c400 */
#define SYS_AT_MCU_SHARED_MEM_SIZE        0x3c00  /* 15K, 15 * 1024 = 0x3c00    */
    
/* API */
int32
sys_at_mcu_init(uint8 lchip);
int32
sys_at_mcu_del_port_mapping(uint8 lchip, uint16 dport);
int32
sys_at_mcu_add_port_mapping(uint8 lchip, uint16 dport);


#ifdef __cplusplus
}
#endif

#endif



